import { axios } from '@/utils/request'

// 新增
export function apiAddAgentIncome(data) {
  return axios({
    url: '/gzAgentIncome/add',
    method: 'post',
    data
  })
}
// 编辑
export function apiEditAgentIncome(data) {
  return axios({
    url: '/gzAgentIncome/edit',
    method: 'post',
    data
  })
}
// 获取代理商
export function apiGetAgentList() {
  return axios({
    url: '/sys/user/list',
    method: 'get',
    params: {
      userType: '3',
      pageNo: 1,
      pageSize: 9999999
    }
  })
}
